package com.th.providerprepaid_refill.service;

import com.lww.springcloudapi.pojo.TabHallUserpayment;
import com.th.providerprepaid_refill.entity.vo.PrepaidRefillData;

import java.util.List;

/**
 * 缴费操作的service接口
 * 包含：
 * 充值 recharge
 */
public interface PrepaidRefillService {

    /**
     * 缴费充值抽象方法
     */
    Integer recharge(PrepaidRefillData data);

    /**
     * 查询缴费记录
     */
    List<TabHallUserpayment> selectRefillRecording(String pnumber,Integer page,Integer limit);

    /**
     * 查询缴费记录总条数
     */
    Integer selectCount(String pnumber);
}
